package com.hmdp.schedule;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UpdateRedisblock {

   // @Scheduled(fixedRate = 1000*2) //
    public void test(){
        log.info("我是定时任务");
    }

}
